package com.jbyu.service.imp;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;

import jodd.io.FileUtil;

import com.jbyu.service.ITemplateRead;

public class TemplateRead implements ITemplateRead {

	public String readTemplate(String path) {
		BufferedReader bre = null;
		String result = null;
		try {
			result = FileUtil.readString(new File(path), "UTF-8");
		} catch (Exception e) {
			e.printStackTrace();
		}
		return result;
	}

}
